<script>
export default {
  methods: {
    countdownChange() {
      const promise = someAsyncFunction();
      if (promise && typeof promise.then === 'function') {
        promise.then(response => {
          // 处理响应
        }).catch(error => {
          console.error('Error in countdownChange:', error);
        });
      } else {
        console.error('someAsyncFunction did not return a valid promise');
      }
    }
  }
}
</script>